<?php if ($spectId == 0 || ($selectId == 2 && $specInputType != 3 && $specInputType != 0  && $specInputType != 5)) { ?>
    <span>Nhập tên thông số</span>
    <span><input type="text" name="specs_name[]" class="w150p"></span>
    <span>Hiển thị trong bộ lọc
        <select name="specs_is_show[]" style="width: 100px;">
            <option value="0">Có</option>
            <option value="1">Không</option>
        </select>
    </span>
    <span><a class="cpointer" onclick="AdminController.addRowItemCategory('list_input_specs', 'specs_item_hidden');"><img src="/public/images/form/add-icon.png"></a></span>
    <span style="padding-left: 20px;"><a class="cpointer" onclick="AdminController.removeRowItemCategory(this, 'list_input_specs');"><img src="/public/images/form/delete.png"></a></span>    
<?php }else if($selectId == 1 && $spectId != 0){ ?>
<span>Nhập tên thông số</span>
    <span><input type="text" name="specs_name[]" class="w200p"></span>
    <span>Chọn kiểu nhập dữ liệu</span>
    <span>
        <select name="specs_input_type[]" id="specs_input_type" class="w150p">
            <option value="1">Selectbox</option>
            <option value="2">Checkbox</option>
            <option value="3">Input</option>
            <option value="4">Radio</option>
            <option value="5">Text Area</option>
        </select>
    </span>
    <span><a class="cpointer" onclick="AdminController.addRowItemCategory('list_input_specs', 'specs_item_hidden');"><img src="/public/images/form/add-icon.png"></a></span>
    <span style="padding-left: 20px;"><a class="cpointer" onclick="AdminController.removeRowItemCategory(this, 'list_input_specs');"><img src="/public/images/form/delete.png"></a></span>
<?php }?>

